<style>
    .zx-label,.zx-field-floatl{ margin-top: 10px}
</style>
<table id="data-load" class="yx-course-info">
    <tbody>
    <?php if(!empty($attr['teacher_form'])){?>
    <tr>
        <td>教学形式：</td>
        <td><?php
            if(isset($attr['teacher_form'])) {
                switch ($attr['teacher_form']) {
                    case 0:
                        echo '一对一';
                        break;
                    case 1:
                        echo '小班制';
                        break;
                    case 2:
                        echo '普通班';
                }
            }
            ?></td>
    </tr>
    <?php }?>
    <?php if(!empty($attr['class_count'])){?>
    <tr>
        <td>课次：</td>
        <td><?=isset($attr['class_count'])?$attr['class_count']:'';?>节课</td>
    </tr>
    <?php }?>
    <tr>
        <td>课时补贴：</td>
        <td><?=$model->cost?>元</td>
    </tr>
    <tr>
        <td>招生费：</td>
        <td><?=$model->admission_fee?>元</td>
    </tr>
    <tr>
        <td>保证金：</td>
        <td><?=$model->deposit?>元</td>
    </tr>

    </tbody></table>
   </table>
<?=$form?>

